import request from '@/utils/request'

// 获取楼宇列表
export const reqGetBuildingListAPI = (params) => request.get("/park/building", { params })

// 楼宇新增
export const reqAddBuildingAPI = (data) => request.post("/park/building", data)

// 楼宇删除
export const reqDelBuildingAPI = (id) => request.delete(`/park/building/${id}`)

// 修改详情
export const reqEditBuildingAPI = (data) => request.put("/park/building", data)